<template>
	<view class="techno-box">
		<ul>
			<li v-for="(item,index) in dataSource " :key="item" >{{item.index===''?'置顶':item.index}}.{{item.title}}</li>
		</ul>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				url: '',
				dataSource: []
			}
		},
		onShow() {
			uni.getClipboardData({
				success(res) {
					this.url = res.data;
				}
			});
		},
		created() {
			this.getData();
		},
		methods: {
			getData() {
				this.$request.get('reptile/weibo', {}).then(res => {
					this.dataSource = res;
				})
			}
		}
	}
</script>

<style>
</style>
